<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>RMOE BLOG</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="快乐的生活源于不断地学习">
<meta property="og:type" content="website">
<meta property="og:title" content="RMOE BLOG">
<meta property="og:url" content="https://romepeng.github.io/index.html">
<meta property="og:site_name" content="RMOE BLOG">
<meta property="og:description" content="快乐的生活源于不断地学习">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="RMOE BLOG">
<meta name="twitter:description" content="快乐的生活源于不断地学习">
  
    <link rel="alternate" href="/atom.xml" title="RMOE BLOG" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link rel="stylesheet" href="/css/style.css">
  

</head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">RMOE BLOG</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/" id="subtitle">Life Notebook.</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="搜索"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://romepeng.github.io"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main">
  
    <article id="post-add-hexo-test" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/09/09/add-hexo-test/" class="article-date">
  <time datetime="2017-09-09T12:12:17.000Z" itemprop="datePublished">2017-09-09</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/09/09/add-hexo-test/">add hexo test</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/09/09/add-hexo-test/" data-id="cj7d9twf300007omv9mklo1ul" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-git doc" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/09/09/git doc/" class="article-date">
  <time datetime="2017-09-09T11:07:00.000Z" itemprop="datePublished">2017-09-09</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/09/09/git doc/">git  --fast-version-control</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h3 id="git-doc"><a href="#git-doc" class="headerlink" title="git doc"></a>git doc</h3><h5 id="git-config"><a href="#git-config" class="headerlink" title="git config"></a>git config</h5><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">git config --global user.name &quot;romepeng&quot;</div><div class="line">git config --global user.email &quot;romepeng@outlook.com&quot;</div></pre></td></tr></table></figure>
<h4 id="checkout-config"><a href="#checkout-config" class="headerlink" title="checkout config"></a>checkout config</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">git config --list</div><div class="line">git config user.email</div></pre></td></tr></table></figure>
<h4 id="help"><a href="#help" class="headerlink" title="help"></a>help</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">git help &lt;verb&gt;</div><div class="line">git &lt;verb&gt; --help</div><div class="line">man git-&lt;verb&gt;</div></pre></td></tr></table></figure>
<p>for example:<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">git hlep config</div></pre></td></tr></table></figure></p>
<p>from:<br>[git-scm] (<a href="https://git-scm.com/book" target="_blank" rel="external">https://git-scm.com/book</a>)</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/09/09/git doc/" data-id="cj7d9twfk00047omvimpaodk0" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-edit hexo blog  on different pc" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/09/09/edit hexo blog  on different pc/" class="article-date">
  <time datetime="2017-09-09T09:14:24.000Z" itemprop="datePublished">2017-09-09</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/09/09/edit hexo blog  on different pc/">use hexo on different desktop</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="edit-hexo-blog-on-different-pc"><a href="#edit-hexo-blog-on-different-pc" class="headerlink" title="edit hexo blog  on different pc"></a>edit hexo blog  on different pc</h4><h4 id="思路："><a href="#思路：" class="headerlink" title="思路："></a>思路：</h4><p>一个分支来存放Hexo生成的网站原始文件（hexo）， 另一个分支来存放生产的静态网页。</p>
<p>流程：</p>
<ol>
<li>创建仓库，<a href="http://CrazyMilk.github.io；" target="_blank" rel="external">http://CrazyMilk.github.io；</a></li>
<li>. 创建两个分支：master 与 hexo；</li>
<li>. 设置hexo为默认分支（因为我们只需要手动管理这个分支上的Hexo网站文件）；</li>
<li>使用git clone git@github.com:CrazyMilk/CrazyMilk.github.io.git拷贝仓库；</li>
<li>在本地<a href="http://CrazyMilk.github.io文件夹下通过Git" target="_blank" rel="external">http://CrazyMilk.github.io文件夹下通过Git</a> bash依次执行npm install hexo、hexo init、npm install 和 npm install hexo-deployer-git（此时当前分支应显示为hexo）;</li>
<li>修改_config.yml中的deploy参数，分支应为master；</li>
<li>依次执行git add .、git commit -m “…”、git push origin hexo提交网站相关的文件；</li>
<li>执行hexo g -d生成网站并部署到GitHub上。</li>
</ol>
<p>作者：CrazyMilk<br>链接：<a href="https://www.zhihu.com/question/21193762/answer/79109280" target="_blank" rel="external">https://www.zhihu.com/question/21193762/answer/79109280</a><br>来源：知乎</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/09/09/edit hexo blog  on different pc/" data-id="cj7d9twfi00037omvnlgc400g" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-edit git repo in  diffrent desktop" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/09/09/edit git repo in  diffrent desktop/" class="article-date">
  <time datetime="2017-09-09T09:00:24.000Z" itemprop="datePublished">2017-09-09</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/09/09/edit git repo in  diffrent desktop/">edit git repo in many desktop</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="edit-git-repo-in-diffrent-desktop"><a href="#edit-git-repo-in-diffrent-desktop" class="headerlink" title="edit git repo in  diffrent desktop"></a>edit git repo in  diffrent desktop</h4><h2 id="method"><a href="#method" class="headerlink" title="method:"></a>method:</h2><ol>
<li>create a new repo on github ;</li>
<li>git clone <a href="https://github.com/romepeng/windpyplus.git" target="_blank" rel="external">https://github.com/romepeng/windpyplus.git</a></li>
<li>edit the project</li>
<li>git add .</li>
<li>git commit -m ‘ log’;</li>
<li>git push origin master ;<br>if github have files, error output: now</li>
<li>git pull origin master;<br>then, do  item 6.</li>
</ol>
<p>push error: src refspec master does not match any;<br>method:<br>touch README<br>git add README<br>git commit -m ‘slove error’<br>git push origin master</p>
<p>add remote repo:<br>git remote add origin <a href="https://github.com/romepeng/windpyplus.git" target="_blank" rel="external">https://github.com/romepeng/windpyplus.git</a><br>check:<br>git remote -v</p>
<p>so:<br>项目先clone下， edit or add or delete 。提交前， pull一下， 保持与服务器的版本一致， add. 后，commit提交，写说明， 再push上去。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/09/09/edit git repo in  diffrent desktop/" data-id="cj7d9twfe00017omv1xa3rwwy" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-git proxy" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/09/09/git proxy/" class="article-date">
  <time datetime="2017-09-09T08:05:00.000Z" itemprop="datePublished">2017-09-09</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/09/09/git proxy/">git proxy</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h3 id="git-proxy"><a href="#git-proxy" class="headerlink" title="git proxy"></a>git proxy</h3><h4 id="set"><a href="#set" class="headerlink" title="set:"></a>set:</h4><p>git config –global http.proxy <a href="http://127.0.0.1:1080" target="_blank" rel="external">http://127.0.0.1:1080</a><br>git config –global https.proxy <a href="https://127.0.0.1:1080" target="_blank" rel="external">https://127.0.0.1:1080</a></p>
<h4 id="unset-and-delelte"><a href="#unset-and-delelte" class="headerlink" title="unset and delelte"></a>unset and delelte</h4><p>git config –global unset http.proxy<br>git config –global unset https.proxy</p>
<p>npm config delete proxy</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/09/09/git proxy/" data-id="cj7d9twfn00057omvarhh8w4a" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-localvps" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/09/01/localvps/" class="article-date">
  <time datetime="2017-08-31T16:00:00.000Z" itemprop="datePublished">2017-09-01</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/09/01/localvps/">buy hk locvps</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li>vkm  cpu 2 , ram 2g, disk 40G, 3M  rmb62/M ;</li>
<li>os : linux or wondows</li>
<li>install shadowsocksR ok</li>
<li>lamp install not succese.</li>
<li>vim8 for python can use.</li>
<li>install anacona ok.</li>
<li>learning  linux shell(bash) script.</li>
</ol>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/09/01/localvps/" data-id="cj7d9twfy00097omv1gbnuqq2" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-linux-lean" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/08/30/linux-lean/" class="article-date">
  <time datetime="2017-08-29T16:00:00.000Z" itemprop="datePublished">2017-08-30</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/08/30/linux-lean/">linux leaning</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h3 id="鸟哥的linux私房菜-（http-cn-linux-vbird-org-）"><a href="#鸟哥的linux私房菜-（http-cn-linux-vbird-org-）" class="headerlink" title="[ 鸟哥的linux私房菜 ] （http://cn.linux.vbird.org/）"></a>[ 鸟哥的linux私房菜 ] （<a href="http://cn.linux.vbird.org/）" target="_blank" rel="external">http://cn.linux.vbird.org/）</a></h3><h3 id="学习环境-VPS（centos6-9）"><a href="#学习环境-VPS（centos6-9）" class="headerlink" title="学习环境 VPS（centos6.9）"></a>学习环境 VPS（centos6.9）</h3><ol>
<li><p>basic</p>
</li>
<li><p>server</p>
</li>
</ol>
<p>详细的讲解linux的基本知识和服务器的架设， 对初学者来讲，比较好理解，便于实践。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/08/30/linux-lean/" data-id="cj7d9twfw00087omvw3rz4myg" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-vpstutils" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/08/20/vpstutils/" class="article-date">
  <time datetime="2017-08-19T16:00:00.000Z" itemprop="datePublished">2017-08-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/08/20/vpstutils/">vps  centos utils</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="CN2-ping-bwh1-net"><a href="#CN2-ping-bwh1-net" class="headerlink" title="CN2 ping bwh1.net"></a>CN2 ping bwh1.net</h2><h2 id="ipip-net-getip"><a href="#ipip-net-getip" class="headerlink" title="ipip.net  getip"></a><a href="http://ipip.net" target="_blank" rel="external">ipip.net</a>  getip</h2><p> &lt; mtr -r  ip&gt;</p>
<ol>
<li>python update to 2.7(from default2.6)<br> anaconda3(3.6)– to default<ol>
<li>nginx , mysql,  php, </li>
</ol>
</li>
<li>BT</li>
<li>ssr </li>
<li>backup</li>
<li>time task</li>
</ol>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/08/20/vpstutils/" data-id="cj7d9twg1000c7omvyda4vwvr" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-vps  in bwh1.net 20170818" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/08/18/vps  in bwh1.net 20170818/" class="article-date">
  <time datetime="2017-08-17T16:00:00.000Z" itemprop="datePublished">2017-08-18</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/08/18/vps  in bwh1.net 20170818/">buy vps on bwh1.net</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="vps-in-bwh1-net-20170818"><a href="#vps-in-bwh1-net-20170818" class="headerlink" title="vps  in bwh1.net 20170818"></a>vps  in bwh1.net 20170818</h2><ul>
<li>pay by PalPay (cmb)</li>
<li>vkm / centos6.9-46-bbr / ssr /openvpn/ api </li>
<li>ssr enable </li>
<li>remote login by Xshell,  also can ftp files (root/ttbd)</li>
<li>install anaconda3 (<a href="https://github.com/rocequant/rqalpha" target="_blank" rel="external">rqalpha</a>)</li>
</ul>
<p>)</p>
<ul>
<li></li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/08/18/vps  in bwh1.net 20170818/" data-id="cj7d9twg0000b7omv8l1vzu31" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  
    <article id="post-linux commands" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/08/15/linux commands/" class="article-date">
  <time datetime="2017-08-15T04:00:05.000Z" itemprop="datePublished">2017-08-15</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/08/15/linux commands/">linux centos command</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="linux-commands"><a href="#linux-commands" class="headerlink" title="linux commands"></a>linux commands</h2><h3 id="use-help-info-man"><a href="#use-help-info-man" class="headerlink" title="use  : help  / info /  man"></a>use  : help  / info /  man</h3><ul>
<li>yum = yellow dog updater, modified  – rpm(/etc/yum.conf) ; yum list; yum check-update; yum update; yum update kernel kernel-source ; yum upgrade;<br>yum install -y ; yum remove licq (licq-gnome., -qt, -text);<br>yum clean package; yum clean all; yum info; yum search mozilla; yum groupinstall /groupupdate/grouplist/groupremove</li>
</ul>
<p>cat /tmp/file.conf<br>vi !$ = vi /tmp/file.conf</p>
<p>ctrl + a<br>ctrl + e</p>
<p>ctrl + k<br>ctrl + y</p>
<p>ctrl + l</p>
<p>ctrl + d</p>
<p>!!<br>!$</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://romepeng.github.io/2017/08/15/linux commands/" data-id="cj7d9twfp00077omvjstbjm6l" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
</article>


  


  <nav id="page-nav">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">__('next') &raquo;</a>
  </nav>
</section>
        
          <aside id="sidebar">
  
    

  
    

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">九月 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">八月 2017</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">最新文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2017/09/09/add-hexo-test/">add hexo test</a>
          </li>
        
          <li>
            <a href="/2017/09/09/git doc/">git  --fast-version-control</a>
          </li>
        
          <li>
            <a href="/2017/09/09/edit hexo blog  on different pc/">use hexo on different desktop</a>
          </li>
        
          <li>
            <a href="/2017/09/09/edit git repo in  diffrent desktop/">edit git repo in many desktop</a>
          </li>
        
          <li>
            <a href="/2017/09/09/git proxy/">git proxy</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2017 rome<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  <script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/script.js"></script>

  </div>
</body>
</html>